{% extends '@SonataAdmin/CRUD/base_show_field.html.twig' %}

{% block field %}
    {% if object.parentComment is not null %}
        {{ object.parentComment.id }}
    {% else %}
        -
    {% endif %}
{% endblock %}